package com.fancymusic.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("test")
    public void test(@RequestParam("name") String name){
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println(name);
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
    }

    @RequestMapping("test1")
    public void test1(){
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
        System.out.println("i am here");
    }
}
